import request from '@/utils/request'

//表格
export const strategyTable = (data) => {
  return request({
    url:`/zhangchen/strategy/select`,
    method:'post',
    data
  })
} 

// 添加欢迎语
export const strategyAdd = (data) => {
  return request({
    url:`/zhangchen/strategy`,
    method:'post',
    data
  })
} 

// 添加欢迎语
export const strategyEdit = (data) => {
  return request({
    url:`/zhangchen/strategy`,
    method:'put',
    data
  })
} 

// 删除欢迎语
export const strategyDelete = (id) => {
  return request({
    url:`/zhangchen/strategy/${id}`,
    method:'delete',
  })
} 